home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / Dema / shadowgrounds_demo_en.exe / {app} / Config / user_autoexec.dhps < prev    next >
Encoding:
Text File  |  2005-11-22  |  1.5 KB  |  60 lines

  1. // NO PP!!!
  2. // don't touch the line above.
  3.  
  4. // ***************************************************
  5.  
  6. // this script has a normal mission script structure, except for
  7. // the two part runcombat sub - which are run before and after the
  8. // actual mission runbefore sub. 
  9.  
  10. script user_autoexec
  11.  
  12. permanentGlobal int,demo
  13. permanentGlobal int,general_difficulty_level
  14. permanentGlobal int,damage_amount_level
  15. permanentGlobal int,item_amount_level
  16. permanentGlobal int,hostile_amount_level
  17.  
  18. // ---------------------------------------------------
  19.  
  20. // what to do before combat (when entering the menus)
  21. // called just before mission file parsing.
  22. // (therefore allowing last chance mission file change)
  23. sub runbefore
  24.   setValue 1
  25.   setVariable demo
  26. endSub
  27.  
  28. // ---------------------------------------------------
  29.  
  30. // what to do when the combat (mission) begins 
  31. // just before normal mission runcombat sub
  32. sub runcombat
  33.   setValue 1
  34.   setVariable demo
  35. endSub
  36.  
  37. // ---------------------------------------------------
  38.  
  39. // what to do when the combat (mission) begins
  40. // shortly after normal mission runcombat sub 
  41. // (after unit, light, etc. init)
  42. sub runcombat2
  43.   setValue 1
  44.   setVariable demo
  45. endSub
  46.  
  47. // ---------------------------------------------------
  48.  
  49. // what to do after the combat (mission) has ended
  50. sub runafter
  51.   // nop
  52. endSub
  53.  
  54. // ---------------------------------------------------
  55.  
  56. endScript
  57.  
  58. // ***************************************************
  59.  
  60.